Diff/Terr are never negative.
authorrobertl <robertl>
Wed, 14 Sep 2005 13:52:43 +0000 (13:52 +0000)
committerrobertl <robertl>
Wed, 14 Sep 2005 13:52:43 +0000 (13:52 +0000)
defs.h

diff --git a/defs.h b/defs.h
index e7a785f0ac345453e323b0d8236f9a337a8bf8cf..0d9756e8eae2fe1c07878d7c31158e030ac77e0c 100644 (file)
--- a/defs.h
+++ b/defs.h
@@ -153,8 +153,8 @@ typedef struct {
        int id; /* The decimal cache number */
        geocache_type type:5;
        geocache_container container:4;
-       int diff:6; /* (multiplied by ten internally) */
-       int terr:6; /* (likewise) */
+       unsigned int diff:6; /* (multiplied by ten internally) */
+       unsigned int terr:6; /* (likewise) */
        time_t exported;
        time_t last_found;
        char *placer; /* Placer name */